package com.twt.survey.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.twt.survey.utils.StaticUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jetbrains.annotations.NotNull;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "questionnaire")
public class Questionnaire implements Serializable {

    public Questionnaire(@NotNull QuestionnaireDTO questionnaireDTO) {
        this.q_1 = questionnaireDTO.getQ_1();

        this.q_2 = questionnaireDTO.getQ_2();
        if (this.q_2.length() >= StaticUtils.JUDGE_LEN) {
            String prefixQ2 = this.q_2.substring(StaticUtils.JUDGE_START, StaticUtils.JUDGE_END);
            if (prefixQ2.equals(StaticUtils.JUDGE_OTHER)) {
                this.q_2_other = StaticUtils.MARK_OTHER;
            }
        }

        this.q_3 = questionnaireDTO.getQ_3();
        this.q_4 = questionnaireDTO.getQ_4();
        this.q_5 = questionnaireDTO.getQ_5();

        List<String> q6 = questionnaireDTO.getQ_6();
        String[] q6_val = StaticUtils.setValue(q6);
        this.q_6 = q6_val[0];
        this.q_6_other = (Objects.equals(q6_val[1], "")) ? null : q6_val[1];

//        if (this.q_4.contains("群众") || this.q_4.contains("共青团员")) {
//            this.q_5 = questionnaireDTO.getQ_5();
//            if (this.q_5.contains("不是")) {
//                List<String> q6 = questionnaireDTO.getQ_6();
//                String[] q6_val = StaticUtils.setValue(q6);
//                this.q_6 = q6_val[0];
//                this.q_6_other = (Objects.equals(q6_val[1], "")) ? null : q6_val[1];
//            }
//        }

        List<String> q7 = questionnaireDTO.getQ_7();
        String[] q7_val = StaticUtils.setValue(q7);
        this.q_7 = q7_val[0];
        this.q_7_other = (Objects.equals(q7_val[1], "")) ? null : q7_val[1];

        this.q_8 = questionnaireDTO.getQ_8();
        this.q_9 = questionnaireDTO.getQ_9();

        this.q_11 = questionnaireDTO.getQ_11();
        this.q_12_1 = questionnaireDTO.getQ_12_1();
        this.q_12_2 = questionnaireDTO.getQ_12_2();
        this.q_12_3 = questionnaireDTO.getQ_12_3();
        this.q_12_4 = questionnaireDTO.getQ_12_4();
        this.q_12_5 = questionnaireDTO.getQ_12_5();
        this.q_12_6 = questionnaireDTO.getQ_12_6();
        this.q_12_7 = questionnaireDTO.getQ_12_7();
        this.q_13_1 = questionnaireDTO.getQ_13_1();
        this.q_13_2 = questionnaireDTO.getQ_13_2();
        this.q_13_3 = questionnaireDTO.getQ_13_3();
        this.q_13_4 = questionnaireDTO.getQ_13_4();
        this.q_13_5 = questionnaireDTO.getQ_13_5();
        this.q_13_6 = questionnaireDTO.getQ_13_6();
        this.q_13_7 = questionnaireDTO.getQ_13_7();
        this.q_13_8 = questionnaireDTO.getQ_13_8();
        this.q_13_9 = questionnaireDTO.getQ_13_9();
        this.q_13_10 = questionnaireDTO.getQ_13_10();
        this.q_13_11 = questionnaireDTO.getQ_13_11();
        this.q_14_1 = questionnaireDTO.getQ_14_1();
        this.q_14_2 = questionnaireDTO.getQ_14_2();
        this.q_14_3 = questionnaireDTO.getQ_14_3();
        this.q_14_4 = questionnaireDTO.getQ_14_4();
        this.q_14_5 = questionnaireDTO.getQ_14_5();
        this.q_14_6 = questionnaireDTO.getQ_14_6();
        this.q_14_7 = questionnaireDTO.getQ_14_7();
        this.q_14_8 = questionnaireDTO.getQ_14_8();
        this.q_14_9 = questionnaireDTO.getQ_14_9();
        this.q_15_1 = questionnaireDTO.getQ_15_1();
        this.q_15_2 = questionnaireDTO.getQ_15_2();
        this.q_15_3 = questionnaireDTO.getQ_15_3();
        this.q_15_4 = questionnaireDTO.getQ_15_4();
        this.q_15_5 = questionnaireDTO.getQ_15_5();
        this.q_15_6 = questionnaireDTO.getQ_15_6();
        this.q_15_7 = questionnaireDTO.getQ_15_7();
        this.q_15_8 = questionnaireDTO.getQ_15_8();
        this.q_15_9 = questionnaireDTO.getQ_15_9();
        this.q_15_10 = questionnaireDTO.getQ_15_10();
        this.q_15_11 = questionnaireDTO.getQ_15_11();
        this.q_15_12 = questionnaireDTO.getQ_15_12();
        this.q_15_13 = questionnaireDTO.getQ_15_13();
        this.q_16_1 = questionnaireDTO.getQ_16_1();
        this.q_16_2 = questionnaireDTO.getQ_16_2();
        this.q_16_3 = questionnaireDTO.getQ_16_3();
        this.q_16_4 = questionnaireDTO.getQ_16_4();
        this.q_16_5 = questionnaireDTO.getQ_16_5();

        List<String> q17 = questionnaireDTO.getQ_17();
        String[] q17_val = StaticUtils.setValue(q17);
        this.q_17 = q17_val[0];
        this.q_17_other = (Objects.equals(q17_val[1], "")) ? null : q17_val[1];

        this.q_18 = questionnaireDTO.getQ_18();

        List<String> q19 = questionnaireDTO.getQ_19();
        String[] q19_val = StaticUtils.setValue(q19);
        this.q_19 = q19_val[0];
        this.q_19_other = (Objects.equals(q19_val[1], "")) ? null : q19_val[1];

        this.q_20_1 = questionnaireDTO.getQ_20_1();
        this.q_20_2 = questionnaireDTO.getQ_20_2();
        this.q_20_3 = questionnaireDTO.getQ_20_3();
        this.q_20_4 = questionnaireDTO.getQ_20_4();
        this.q_20_5 = questionnaireDTO.getQ_20_5();
        this.q_21_1 = questionnaireDTO.getQ_21_1();
        this.q_21_2 = questionnaireDTO.getQ_21_2();
        this.q_21_3 = questionnaireDTO.getQ_21_3();
        this.q_21_4 = questionnaireDTO.getQ_21_4();

        List<String> q22 = questionnaireDTO.getQ_22();
        String[] q22_val = StaticUtils.setValue(q22);
        this.q_22 = q22_val[0];
        this.q_22_other = (Objects.equals(q22_val[1], "")) ? null : q22_val[1];

        List<String> q23 = questionnaireDTO.getQ_23();
        String[] q23_val = StaticUtils.setValue(q23);
        this.q_23 = q23_val[0];
        this.q_23_other = (Objects.equals(q23_val[1], "")) ? null : q23_val[1];

        this.q_25_1 = questionnaireDTO.getQ_25_1();
        this.q_25_2 = questionnaireDTO.getQ_25_2();
        this.q_25_3 = questionnaireDTO.getQ_25_3();
        this.q_25_4 = questionnaireDTO.getQ_25_4();
        this.q_25_5 = questionnaireDTO.getQ_25_5();
        this.q_25_6 = questionnaireDTO.getQ_25_6();
        this.q_25_7 = questionnaireDTO.getQ_25_7();
        this.q_25_8 = questionnaireDTO.getQ_25_8();
        this.q_25_9 = questionnaireDTO.getQ_25_9();
        this.q_25_10 = questionnaireDTO.getQ_25_10();
        this.q_25_11 = questionnaireDTO.getQ_25_11();
        this.q_25_12 = questionnaireDTO.getQ_25_12();
        this.q_25_13 = questionnaireDTO.getQ_25_13();
        this.q_25_14 = questionnaireDTO.getQ_25_14();
        this.q_25_15 = questionnaireDTO.getQ_25_15();
        this.q_25_16 = questionnaireDTO.getQ_25_16();
        this.q_25_17 = questionnaireDTO.getQ_25_17();
        this.q_25_18 = questionnaireDTO.getQ_25_18();
        this.q_25_19 = questionnaireDTO.getQ_25_19();
        this.q_26_1 = questionnaireDTO.getQ_26_1();
        this.q_26_2 = questionnaireDTO.getQ_26_2();
        this.q_26_3 = questionnaireDTO.getQ_26_3();
        this.q_26_4 = questionnaireDTO.getQ_26_4();
        this.q_26_5 = questionnaireDTO.getQ_26_5();
        this.q_26_6 = questionnaireDTO.getQ_26_6();
        this.q_26_7 = questionnaireDTO.getQ_26_7();
        this.q_26_8 = questionnaireDTO.getQ_26_8();
        this.q_26_9 = questionnaireDTO.getQ_26_9();
        this.q_26_10 = questionnaireDTO.getQ_26_10();
        this.q_26_11 = questionnaireDTO.getQ_26_11();
        this.q_26_12 = questionnaireDTO.getQ_26_12();
        this.q_26_13 = questionnaireDTO.getQ_26_13();
        this.q_26_14 = questionnaireDTO.getQ_26_14();
        this.q_26_15 = questionnaireDTO.getQ_26_15();
        this.q_26_16 = questionnaireDTO.getQ_26_16();
        this.q_26_17 = questionnaireDTO.getQ_26_17();
        this.q_26_18 = questionnaireDTO.getQ_26_18();
        this.q_27 = questionnaireDTO.getQ_27();
        this.q_28_1 = questionnaireDTO.getQ_28_1();
        this.q_28_2 = questionnaireDTO.getQ_28_2();
        this.q_28_3 = questionnaireDTO.getQ_28_3();
        this.q_28_4 = questionnaireDTO.getQ_28_4();
        this.q_28_5 = questionnaireDTO.getQ_28_5();
        this.q_28_6 = questionnaireDTO.getQ_28_6();
        this.q_28_7 = questionnaireDTO.getQ_28_7();
        this.q_28_8 = questionnaireDTO.getQ_28_8();

        this.q_34 = questionnaireDTO.getQ_34();

        List<String> q38 = questionnaireDTO.getQ_38();
        String[] q38_val = StaticUtils.setValue(q38);
        this.q_38 = q38_val[0];
        this.q_38_other = (Objects.equals(q38_val[1], "")) ? null : q38_val[1];

        List<String> q39 = questionnaireDTO.getQ_39();
        String[] q39_val = StaticUtils.setValue(q39);
        this.q_39 = q39_val[0];
        this.q_39_other = (Objects.equals(q39_val[1], "")) ? null : q39_val[1];

        List<String> q40 = questionnaireDTO.getQ_40();
        String[] q40_val = StaticUtils.setValue(q40);
        this.q_40 = q40_val[0];
        this.q_40_other = (Objects.equals(q40_val[1], "")) ? null : q40_val[1];

        List<String> q41 = questionnaireDTO.getQ_41();
        String[] q41_val = StaticUtils.setValue(q41);
        this.q_41 = q41_val[0];
        this.q_41_other = (Objects.equals(q41_val[1], "")) ? null : q41_val[1];

        this.q_42 = questionnaireDTO.getQ_42().toString();

        List<String> q43 = questionnaireDTO.getQ_43();
        String[] q43_val = StaticUtils.setValue(q43);
        this.q_43 = q43_val[0];
        this.q_43_other = (Objects.equals(q43_val[1], "")) ? null : q43_val[1];

        this.q_44 = questionnaireDTO.getQ_44();
        this.q_45_1 = questionnaireDTO.getQ_45_1();
        this.q_45_2 = questionnaireDTO.getQ_45_2();
        this.q_45_3 = questionnaireDTO.getQ_45_3();
        this.q_45_4 = questionnaireDTO.getQ_45_4();
        this.q_45_5 = questionnaireDTO.getQ_45_5();
        this.q_45_6 = questionnaireDTO.getQ_45_6();
        this.q_45_7 = questionnaireDTO.getQ_45_7();
        this.q_45_8 = questionnaireDTO.getQ_45_8();
        this.q_45_9 = questionnaireDTO.getQ_45_9();
        this.q_45_10 = questionnaireDTO.getQ_45_10();
        this.q_45_11 = questionnaireDTO.getQ_45_11();

        List<String> q46 = questionnaireDTO.getQ_46();
        String[] q46_val = StaticUtils.setValue(q46);
        this.q_46 = q46_val[0];
        this.q_46_other = (Objects.equals(q46_val[1], "")) ? null : q46_val[1];

        List<String> q47 = questionnaireDTO.getQ_47();
        String[] q47_val = StaticUtils.setValue(q47);
        this.q_47 = q47_val[0];
        this.q_47_other = (Objects.equals(q47_val[1], "")) ? null : q47_val[1];

        List<String> q48 = questionnaireDTO.getQ_48();
        String[] q48_val = StaticUtils.setValue(q48);
        this.q_48 = q48_val[0];
        this.q_48_other = (Objects.equals(q48_val[1], "")) ? null : q48_val[1];

        this.q_51_1 = questionnaireDTO.getQ_51_1();
        this.q_51_2 = questionnaireDTO.getQ_51_2();
        this.q_51_3 = questionnaireDTO.getQ_51_3();
        this.q_51_4 = questionnaireDTO.getQ_51_4();
        this.q_51_5 = questionnaireDTO.getQ_51_5();
        this.q_51_6 = questionnaireDTO.getQ_51_6();
        this.q_51_7 = questionnaireDTO.getQ_51_7();
        this.q_51_8 = questionnaireDTO.getQ_51_8();
        this.q_51_9 = questionnaireDTO.getQ_51_9();
        this.q_51_10 = questionnaireDTO.getQ_51_10();
        this.q_52_1 = questionnaireDTO.getQ_52_1();
        this.q_52_2 = questionnaireDTO.getQ_52_2();
        this.q_52_3 = questionnaireDTO.getQ_52_3();
        this.q_52_4 = questionnaireDTO.getQ_52_4();
        this.q_52_5 = questionnaireDTO.getQ_52_5();
        this.q_52_6 = questionnaireDTO.getQ_52_6();
        this.q_52_7 = questionnaireDTO.getQ_52_7();
        this.q_52_8 = questionnaireDTO.getQ_52_8();
        this.q_52_9 = questionnaireDTO.getQ_52_9();
        this.q_52_10 = questionnaireDTO.getQ_52_10();
        this.q_53 = questionnaireDTO.getQ_53();
        this.q_54 = questionnaireDTO.getQ_54().toString();

        List<String> q55 = questionnaireDTO.getQ_55();
        String[] q55_val = StaticUtils.setValue(q55);
        this.q_55 = q55_val[0];
        this.q_55_other = (Objects.equals(q55_val[1], "")) ? null : q55_val[1];

        List<String> q56 = questionnaireDTO.getQ_56();
        String[] q56_val = StaticUtils.setValue(q56);
        this.q_56 = q56_val[0];
        this.q_56_other = (Objects.equals(q55_val[1], "")) ? null : q56_val[1];

//        this.q_10 = questionnaireDTO.getQ_10();
//
//        this.q_24_1 = questionnaireDTO.getQ_24_1();
//        this.q_24_2 = questionnaireDTO.getQ_24_2();
//        this.q_24_3 = questionnaireDTO.getQ_24_3();
//        this.q_24_4 = questionnaireDTO.getQ_24_4();
//        this.q_24_5 = questionnaireDTO.getQ_24_5();
//        this.q_24_6 = questionnaireDTO.getQ_24_6();
//        this.q_24_7 = questionnaireDTO.getQ_24_7();
//        this.q_24_8 = questionnaireDTO.getQ_24_8();
//        this.q_24_9 = questionnaireDTO.getQ_24_9();
//        this.q_24_10 = questionnaireDTO.getQ_24_10();
//
//
//        this.q_29_1 = questionnaireDTO.getQ_29_1();
//        this.q_29_2 = questionnaireDTO.getQ_29_2();
//
//        this.q_30 = questionnaireDTO.getQ_30().toString();
//        this.q_31 = questionnaireDTO.getQ_31().toString();
//
//        this.q_32_1 = questionnaireDTO.getQ_32_1();
//        this.q_32_2 = questionnaireDTO.getQ_32_2();
//        this.q_32_3 = questionnaireDTO.getQ_32_3();
//        this.q_32_4 = questionnaireDTO.getQ_32_4();
//        this.q_32_5 = questionnaireDTO.getQ_32_5();
//        this.q_32_6 = questionnaireDTO.getQ_32_6();
//        this.q_32_7 = questionnaireDTO.getQ_32_7();
//        this.q_32_8 = questionnaireDTO.getQ_32_8();
//        this.q_32_9 = questionnaireDTO.getQ_32_9();
//        this.q_32_10 = questionnaireDTO.getQ_32_10();
//        this.q_32_11 = questionnaireDTO.getQ_32_11();
//        this.q_33_1 = questionnaireDTO.getQ_33_1();
//        this.q_33_2 = questionnaireDTO.getQ_33_2();
//        this.q_33_3 = questionnaireDTO.getQ_33_3();
//        this.q_33_4 = questionnaireDTO.getQ_33_4();
//        this.q_33_5 = questionnaireDTO.getQ_33_5();
//        this.q_33_6 = questionnaireDTO.getQ_33_6();
//        this.q_33_7 = questionnaireDTO.getQ_33_7();
//
//
//        List<String> q35 = questionnaireDTO.getQ_35();
//        String[] q35_val = StaticUtils.setValue(q35);
//        this.q_35 = q35_val[0];
//        this.q_35_other = (Objects.equals(q35_val[1], "")) ? null : q35_val[1];
//
//
//        List<String> q36 = questionnaireDTO.getQ_36();
//        String[] q36_val = StaticUtils.setValue(q36);
//        this.q_36 = q36_val[0];
//        this.q_36_other = (Objects.equals(q36_val[1], "")) ? null : q36_val[1];
//
//        this.q_37 = questionnaireDTO.getQ_37();
//
//
//        this.q_49_1 = questionnaireDTO.getQ_49_1();
//        this.q_49_2 = questionnaireDTO.getQ_49_2();
//        this.q_49_3 = questionnaireDTO.getQ_49_3();
//        this.q_49_4 = questionnaireDTO.getQ_49_4();
//        this.q_49_5 = questionnaireDTO.getQ_49_5();
//        this.q_49_6 = questionnaireDTO.getQ_49_6();
//        this.q_49_7 = questionnaireDTO.getQ_49_7();
//        this.q_49_8 = questionnaireDTO.getQ_49_8();
//        this.q_49_9 = questionnaireDTO.getQ_49_9();
//        this.q_49_10 = questionnaireDTO.getQ_49_10();
//        this.q_49_11 = questionnaireDTO.getQ_49_11();
//        this.q_49_12 = questionnaireDTO.getQ_49_12();
//        this.q_50_1 = questionnaireDTO.getQ_50_1();
//        this.q_50_2 = questionnaireDTO.getQ_50_2();
//        this.q_50_3 = questionnaireDTO.getQ_50_3();
//        this.q_50_4 = questionnaireDTO.getQ_50_4();
//        this.q_50_5 = questionnaireDTO.getQ_50_5();
//        this.q_50_6 = questionnaireDTO.getQ_50_6();
//        this.q_50_7 = questionnaireDTO.getQ_50_7();
//        this.q_50_8 = questionnaireDTO.getQ_50_8();
//        this.q_50_9 = questionnaireDTO.getQ_50_9();
//        this.q_50_10 = questionnaireDTO.getQ_50_10();
//        this.q_50_11 = questionnaireDTO.getQ_50_11();
//        this.q_50_12 = questionnaireDTO.getQ_50_12();

        if (!(this.q_2.contains("2024"))) {
            this.q_10 = questionnaireDTO.getQ_10();

            this.q_24_1 = questionnaireDTO.getQ_24_1();
            this.q_24_2 = questionnaireDTO.getQ_24_2();
            this.q_24_3 = questionnaireDTO.getQ_24_3();
            this.q_24_4 = questionnaireDTO.getQ_24_4();
            this.q_24_5 = questionnaireDTO.getQ_24_5();
            this.q_24_6 = questionnaireDTO.getQ_24_6();
            this.q_24_7 = questionnaireDTO.getQ_24_7();
            this.q_24_8 = questionnaireDTO.getQ_24_8();
            this.q_24_9 = questionnaireDTO.getQ_24_9();
            this.q_24_10 = questionnaireDTO.getQ_24_10();
        }

        if (this.q_2.contains("2024级本")) {
            this.q_29_1 = questionnaireDTO.getQ_29_1();
            this.q_29_2 = questionnaireDTO.getQ_29_2();

            this.q_30 = questionnaireDTO.getQ_30().toString();
            this.q_31 = questionnaireDTO.getQ_31().toString();

            this.q_32_1 = questionnaireDTO.getQ_32_1();
            this.q_32_2 = questionnaireDTO.getQ_32_2();
            this.q_32_3 = questionnaireDTO.getQ_32_3();
            this.q_32_4 = questionnaireDTO.getQ_32_4();
            this.q_32_5 = questionnaireDTO.getQ_32_5();
            this.q_32_6 = questionnaireDTO.getQ_32_6();
            this.q_32_7 = questionnaireDTO.getQ_32_7();
            this.q_32_8 = questionnaireDTO.getQ_32_8();
            this.q_32_9 = questionnaireDTO.getQ_32_9();
            this.q_32_10 = questionnaireDTO.getQ_32_10();
            this.q_32_11 = questionnaireDTO.getQ_32_11();
            this.q_33_1 = questionnaireDTO.getQ_33_1();
            this.q_33_2 = questionnaireDTO.getQ_33_2();
            this.q_33_3 = questionnaireDTO.getQ_33_3();
            this.q_33_4 = questionnaireDTO.getQ_33_4();
            this.q_33_5 = questionnaireDTO.getQ_33_5();
            this.q_33_6 = questionnaireDTO.getQ_33_6();
            this.q_33_7 = questionnaireDTO.getQ_33_7();
        }

        if ((this.q_2.contains("2020") || this.q_2.contains("2021") || this.q_2.contains("2022") ||this.q_2.contains("2023") || this.q_2.contains("2024")) && this.q_2.contains("本")) {
            List<String> q35 = questionnaireDTO.getQ_35();
            String[] q35_val = StaticUtils.setValue(q35);
            this.q_35 = q35_val[0];
            this.q_35_other = (Objects.equals(q35_val[1], "")) ? null : q35_val[1];
        }

        if ((this.q_2.contains("2022") || this.q_2.contains("2023") || this.q_2.contains("2024")) && this.q_2.contains("硕")) {
            List<String> q36 = questionnaireDTO.getQ_36();
            String[] q36_val = StaticUtils.setValue(q36);
            this.q_36 = q36_val[0];
            this.q_36_other = (Objects.equals(q36_val[1], "")) ? null : q36_val[1];

            this.q_37 = questionnaireDTO.getQ_37();
        }

        if ((this.q_2.contains("2022") || this.q_2.contains("2023") || this.q_2.contains("2024")) && this.q_2.contains("本")) {
            this.q_49_1 = questionnaireDTO.getQ_49_1();
            this.q_49_2 = questionnaireDTO.getQ_49_2();
            this.q_49_3 = questionnaireDTO.getQ_49_3();
            this.q_49_4 = questionnaireDTO.getQ_49_4();
            this.q_49_5 = questionnaireDTO.getQ_49_5();
            this.q_49_6 = questionnaireDTO.getQ_49_6();
            this.q_49_7 = questionnaireDTO.getQ_49_7();
            this.q_49_8 = questionnaireDTO.getQ_49_8();
            this.q_49_9 = questionnaireDTO.getQ_49_9();
            this.q_49_10 = questionnaireDTO.getQ_49_10();
            this.q_49_11 = questionnaireDTO.getQ_49_11();
            this.q_49_12 = questionnaireDTO.getQ_49_12();
            this.q_50_1 = questionnaireDTO.getQ_50_1();
            this.q_50_2 = questionnaireDTO.getQ_50_2();
            this.q_50_3 = questionnaireDTO.getQ_50_3();
            this.q_50_4 = questionnaireDTO.getQ_50_4();
            this.q_50_5 = questionnaireDTO.getQ_50_5();
            this.q_50_6 = questionnaireDTO.getQ_50_6();
            this.q_50_7 = questionnaireDTO.getQ_50_7();
            this.q_50_8 = questionnaireDTO.getQ_50_8();
            this.q_50_9 = questionnaireDTO.getQ_50_9();
            this.q_50_10 = questionnaireDTO.getQ_50_10();
            this.q_50_11 = questionnaireDTO.getQ_50_11();
            this.q_50_12 = questionnaireDTO.getQ_50_12();
        }

    }

    @TableId(type = IdType.AUTO)
    private Integer id;


    @TableField(value = "`1`")
    private String q_1;


    @TableField(value = "`2`")
    private String q_2;

    @TableField(value = "`2_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_2_other;


    @TableField(value = "`3`")
    private String q_3;


    @TableField(value = "`4`")
    private String q_4;

    @TableField(value = "`5`", updateStrategy = FieldStrategy.IGNORED)
    private String q_5;

    @TableField(value = "`6`", updateStrategy = FieldStrategy.IGNORED)
    private String q_6;

    @TableField(value = "`6_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_6_other;


    @TableField(value = "`7`")
    private String q_7;

    @TableField(value = "`7_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_7_other;


    @TableField(value = "`8`")
    private String q_8;


    @TableField(value = "`9`")
    private String q_9;

    @TableField(value = "`10`", updateStrategy = FieldStrategy.IGNORED)
    private String q_10;


    @TableField(value = "`11`")
    private String q_11;


    @TableField(value = "`12_1`")
    private String q_12_1;


    @TableField(value = "`12_2`")
    private String q_12_2;


    @TableField(value = "`12_3`")
    private String q_12_3;


    @TableField(value = "`12_4`")
    private String q_12_4;


    @TableField(value = "`12_5`")
    private String q_12_5;


    @TableField(value = "`12_6`")
    private String q_12_6;


    @TableField(value = "`12_7`")
    private String q_12_7;


    @TableField(value = "`13_1`")
    private String q_13_1;


    @TableField(value = "`13_2`")
    private String q_13_2;


    @TableField(value = "`13_3`")
    private String q_13_3;


    @TableField(value = "`13_4`")
    private String q_13_4;


    @TableField(value = "`13_5`")
    private String q_13_5;


    @TableField(value = "`13_6`")
    private String q_13_6;


    @TableField(value = "`13_7`")
    private String q_13_7;


    @TableField(value = "`13_8`")
    private String q_13_8;


    @TableField(value = "`13_9`")
    private String q_13_9;


    @TableField(value = "`13_10`")
    private String q_13_10;


    @TableField(value = "`13_11`")
    private String q_13_11;


    @TableField(value = "`14_1`")
    private String q_14_1;


    @TableField(value = "`14_2`")
    private String q_14_2;


    @TableField(value = "`14_3`")
    private String q_14_3;


    @TableField(value = "`14_4`")
    private String q_14_4;


    @TableField(value = "`14_5`")
    private String q_14_5;


    @TableField(value = "`14_6`")
    private String q_14_6;


    @TableField(value = "`14_7`")
    private String q_14_7;


    @TableField(value = "`14_8`")
    private String q_14_8;


    @TableField(value = "`14_9`")
    private String q_14_9;


    @TableField(value = "`15_1`")
    private String q_15_1;


    @TableField(value = "`15_2`")
    private String q_15_2;


    @TableField(value = "`15_3`")
    private String q_15_3;


    @TableField(value = "`15_4`")
    private String q_15_4;


    @TableField(value = "`15_5`")
    private String q_15_5;


    @TableField(value = "`15_6`")
    private String q_15_6;


    @TableField(value = "`15_7`")
    private String q_15_7;


    @TableField(value = "`15_8`")
    private String q_15_8;


    @TableField(value = "`15_9`")
    private String q_15_9;


    @TableField(value = "`15_10`")
    private String q_15_10;


    @TableField(value = "`15_11`")
    private String q_15_11;


    @TableField(value = "`15_12`")
    private String q_15_12;


    @TableField(value = "`15_13`")
    private String q_15_13;


    @TableField(value = "`16_1`")
    private String q_16_1;


    @TableField(value = "`16_2`")
    private String q_16_2;


    @TableField(value = "`16_3`")
    private String q_16_3;


    @TableField(value = "`16_4`")
    private String q_16_4;


    @TableField(value = "`16_5`")
    private String q_16_5;


    @TableField(value = "`17`")
    private String q_17;

    @TableField(value = "`17_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_17_other;


    @TableField(value = "`18`")
    private String q_18;


    @TableField(value = "`19`")
    private String q_19;

    @TableField(value = "`19_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_19_other;


    @TableField(value = "`20_1`")
    private String q_20_1;


    @TableField(value = "`20_2`")
    private String q_20_2;


    @TableField(value = "`20_3`")
    private String q_20_3;


    @TableField(value = "`20_4`")
    private String q_20_4;


    @TableField(value = "`20_5`")
    private String q_20_5;


    @TableField(value = "`21_1`")
    private String q_21_1;


    @TableField(value = "`21_2`")
    private String q_21_2;


    @TableField(value = "`21_3`")
    private String q_21_3;


    @TableField(value = "`21_4`")
    private String q_21_4;


    @TableField(value = "`22`")
    private String q_22;

    @TableField(value = "`22_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_22_other;


    @TableField(value = "`23`")
    private String q_23;

    @TableField(value = "`23_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_23_other;

    @TableField(value = "`24_1`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_1;

    @TableField(value = "`24_2`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_2;

    @TableField(value = "`24_3`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_3;

    @TableField(value = "`24_4`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_4;

    @TableField(value = "`24_5`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_5;

    @TableField(value = "`24_6`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_6;

    @TableField(value = "`24_7`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_7;

    @TableField(value = "`24_8`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_8;

    @TableField(value = "`24_9`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_9;

    @TableField(value = "`24_10`", updateStrategy = FieldStrategy.IGNORED)
    private String q_24_10;


    @TableField(value = "`25_1`")
    private String q_25_1;


    @TableField(value = "`25_2`")
    private String q_25_2;


    @TableField(value = "`25_3`")
    private String q_25_3;


    @TableField(value = "`25_4`")
    private String q_25_4;


    @TableField(value = "`25_5`")
    private String q_25_5;


    @TableField(value = "`25_6`")
    private String q_25_6;


    @TableField(value = "`25_7`")
    private String q_25_7;


    @TableField(value = "`25_8`")
    private String q_25_8;


    @TableField(value = "`25_9`")
    private String q_25_9;


    @TableField(value = "`25_10`")
    private String q_25_10;


    @TableField(value = "`25_11`")
    private String q_25_11;


    @TableField(value = "`25_12`")
    private String q_25_12;


    @TableField(value = "`25_13`")
    private String q_25_13;


    @TableField(value = "`25_14`")
    private String q_25_14;


    @TableField(value = "`25_15`")
    private String q_25_15;


    @TableField(value = "`25_16`")
    private String q_25_16;


    @TableField(value = "`25_17`")
    private String q_25_17;


    @TableField(value = "`25_18`")
    private String q_25_18;


    @TableField(value = "`25_19`")
    private String q_25_19;


    @TableField(value = "`26_1`")
    private String q_26_1;


    @TableField(value = "`26_2`")
    private String q_26_2;

    @TableField(value = "`26_3`")
    private String q_26_3;


    @TableField(value = "`26_4`")
    private String q_26_4;


    @TableField(value = "`26_5`")
    private String q_26_5;


    @TableField(value = "`26_6`")
    private String q_26_6;


    @TableField(value = "`26_7`")
    private String q_26_7;


    @TableField(value = "`26_8`")
    private String q_26_8;


    @TableField(value = "`26_9`")
    private String q_26_9;


    @TableField(value = "`26_10`")
    private String q_26_10;


    @TableField(value = "`26_11`")
    private String q_26_11;


    @TableField(value = "`26_12`")
    private String q_26_12;


    @TableField(value = "`26_13`")
    private String q_26_13;


    @TableField(value = "`26_14`")
    private String q_26_14;


    @TableField(value = "`26_15`")
    private String q_26_15;


    @TableField(value = "`26_16`")
    private String q_26_16;


    @TableField(value = "`26_17`")
    private String q_26_17;


    @TableField(value = "`26_18`")
    private String q_26_18;


    @TableField(value = "`27`")
    private String q_27;


    @TableField(value = "`28_1`")
    private String q_28_1;


    @TableField(value = "`28_2`")
    private String q_28_2;


    @TableField(value = "`28_3`")
    private String q_28_3;


    @TableField(value = "`28_4`")
    private String q_28_4;


    @TableField(value = "`28_5`")
    private String q_28_5;


    @TableField(value = "`28_6`")
    private String q_28_6;


    @TableField(value = "`28_7`")
    private String q_28_7;


    @TableField(value = "`28_8`")
    private String q_28_8;

    @TableField(value = "`29_1`", updateStrategy = FieldStrategy.IGNORED)
    private String q_29_1;

    @TableField(value = "`29_2`", updateStrategy = FieldStrategy.IGNORED)
    private String q_29_2;

    @TableField(value = "`30`", updateStrategy = FieldStrategy.IGNORED)
    private String q_30;

    @TableField(value = "`31`", updateStrategy = FieldStrategy.IGNORED)
    private String q_31;

    @TableField(value = "`32_1`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_1;

    @TableField(value = "`32_2`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_2;

    @TableField(value = "`32_3`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_3;

    @TableField(value = "`32_4`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_4;

    @TableField(value = "`32_5`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_5;

    @TableField(value = "`32_6`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_6;

    @TableField(value = "`32_7`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_7;

    @TableField(value = "`32_8`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_8;

    @TableField(value = "`32_9`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_9;

    @TableField(value = "`32_10`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_10;

    @TableField(value = "`32_11`", updateStrategy = FieldStrategy.IGNORED)
    private String q_32_11;

    @TableField(value = "`33_1`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_1;

    @TableField(value = "`33_2`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_2;

    @TableField(value = "`33_3`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_3;

    @TableField(value = "`33_4`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_4;

    @TableField(value = "`33_5`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_5;

    @TableField(value = "`33_6`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_6;

    @TableField(value = "`33_7`", updateStrategy = FieldStrategy.IGNORED)
    private String q_33_7;


    @TableField(value = "`34`")
    private String q_34;

    @TableField(value = "`35`", updateStrategy = FieldStrategy.IGNORED)
    private String q_35;

    @TableField(value = "`35_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_35_other;

    @TableField(value = "`36`", updateStrategy = FieldStrategy.IGNORED)
    private String q_36;

    @TableField(value = "`36_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_36_other;

    @TableField(value = "`37`", updateStrategy = FieldStrategy.IGNORED)
    private String q_37;


    @TableField(value = "`38`")
    private String q_38;

    @TableField(value = "`38_other`")
    private String q_38_other;


    @TableField(value = "`39`")
    private String q_39;

    @TableField(value = "`39_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_39_other;


    @TableField(value = "`40`")
    private String q_40;

    @TableField(value = "`40_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_40_other;


    @TableField(value = "`41`")
    private String q_41;

    @TableField(value = "`41_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_41_other;


    @TableField(value = "`42`")
    private String q_42;


    @TableField(value = "`43`")
    private String q_43;

    @TableField(value = "`43_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_43_other;


    @TableField(value = "`44`")
    private String q_44;


    @TableField(value = "`45_1`")
    private String q_45_1;


    @TableField(value = "`45_2`")
    private String q_45_2;


    @TableField(value = "`45_3`")
    private String q_45_3;


    @TableField(value = "`45_4`")
    private String q_45_4;


    @TableField(value = "`45_5`")
    private String q_45_5;


    @TableField(value = "`45_6`")
    private String q_45_6;


    @TableField(value = "`45_7`")
    private String q_45_7;


    @TableField(value = "`45_8`")
    private String q_45_8;


    @TableField(value = "`45_9`")
    private String q_45_9;


    @TableField(value = "`45_10`")
    private String q_45_10;


    @TableField(value = "`45_11`")
    private String q_45_11;


    @TableField(value = "`46`")
    private String q_46;

    @TableField(value = "`46_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_46_other;


    @TableField(value = "`47`")
    private String q_47;

    @TableField(value = "`47_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_47_other;


    @TableField(value = "`48`")
    private String q_48;

    @TableField(value = "`48_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_48_other;

    @TableField(value = "`49_1`")
    private String q_49_1;

    @TableField(value = "`49_2`")
    private String q_49_2;

    @TableField(value = "`49_3`")
    private String q_49_3;

    @TableField(value = "`49_4`")
    private String q_49_4;

    @TableField(value = "`49_5`")
    private String q_49_5;

    @TableField(value = "`49_6`")
    private String q_49_6;

    @TableField(value = "`49_7`")
    private String q_49_7;

    @TableField(value = "`49_8`")
    private String q_49_8;

    @TableField(value = "`49_9`")
    private String q_49_9;

    @TableField(value = "`49_10`")
    private String q_49_10;

    @TableField(value = "`49_11`")
    private String q_49_11;

    @TableField(value = "`49_12`")
    private String q_49_12;

    @TableField(value = "`50_1`")
    private String q_50_1;

    @TableField(value = "`50_2`")
    private String q_50_2;

    @TableField(value = "`50_3`")
    private String q_50_3;

    @TableField(value = "`50_4`")
    private String q_50_4;

    @TableField(value = "`50_5`")
    private String q_50_5;

    @TableField(value = "`50_6`")
    private String q_50_6;

    @TableField(value = "`50_7`")
    private String q_50_7;

    @TableField(value = "`50_8`")
    private String q_50_8;

    @TableField(value = "`50_9`")
    private String q_50_9;

    @TableField(value = "`50_10`")
    private String q_50_10;

    @TableField(value = "`50_11`")
    private String q_50_11;

    @TableField(value = "`50_12`")
    private String q_50_12;


    @TableField(value = "`51_1`")
    private String q_51_1;


    @TableField(value = "`51_2`")
    private String q_51_2;


    @TableField(value = "`51_3`")
    private String q_51_3;


    @TableField(value = "`51_4`")
    private String q_51_4;


    @TableField(value = "`51_5`")
    private String q_51_5;


    @TableField(value = "`51_6`")
    private String q_51_6;


    @TableField(value = "`51_7`")
    private String q_51_7;


    @TableField(value = "`51_8`")
    private String q_51_8;


    @TableField(value = "`51_9`")
    private String q_51_9;


    @TableField(value = "`51_10`")
    private String q_51_10;


    @TableField(value = "`52_1`")
    private String q_52_1;


    @TableField(value = "`52_2`")
    private String q_52_2;


    @TableField(value = "`52_3`")
    private String q_52_3;


    @TableField(value = "`52_4`")
    private String q_52_4;


    @TableField(value = "`52_5`")
    private String q_52_5;


    @TableField(value = "`52_6`")
    private String q_52_6;


    @TableField(value = "`52_7`")
    private String q_52_7;


    @TableField(value = "`52_8`")
    private String q_52_8;


    @TableField(value = "`52_9`")
    private String q_52_9;


    @TableField(value = "`52_10`")
    private String q_52_10;


    @TableField(value = "`53`")
    private String q_53;


    @TableField(value = "`54`")
    private String q_54;


    @TableField(value = "`55`")
    private String q_55;

    @TableField(value = "`55_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_55_other;


    @TableField(value = "`56`")
    private String q_56;

    @TableField(value = "`56_other`", updateStrategy = FieldStrategy.IGNORED)
    private String q_56_other;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
